package com.zjeav.lingjiao.base.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.zjeav.lingjiao.R;
import com.zjeav.lingjiao.base.baseBean.Book;
import com.zjeav.lingjiao.base.baseBean.LocalMetadata;

/**
 * Created by kekezhou on 2018-10-30.
 */
public class MusicAdapter extends BaseQuickAdapter<LocalMetadata, BaseViewHolder> {
    public MusicAdapter() {
        super(R.layout.music_item);
    }

    @Override
    protected void convert(BaseViewHolder helper, LocalMetadata item) {
        helper.setText(R.id.music_txt, item.getTitle());
        helper.addOnClickListener(R.id.music_txt);
    }
}
